using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    public class MRPMasterImport
    {
        string masterimportcode;
        string createdusercode;
        DateTime createdtime;
        string modifiedusercode;
        string modifiedtime;
        string customercode;
        int typeimport;
        string notes;
        int importtypecode;
        ISet mrpdetailsimportList;

        public MRPMasterImport()
        {

        }

        public virtual string Masterimportcode
        {
            get { return masterimportcode; }
            set { masterimportcode = value; }
        }

        public virtual string Createdusercode
        {
            get { return createdusercode; }
            set { createdusercode = value; }
        }

        public virtual DateTime Createdtime
        {
            get { return createdtime; }
            set { createdtime = value; }
        }

        public virtual string Modifiedusercode
        {
            get { return modifiedusercode; }
            set { modifiedusercode = value; }
        }

        public virtual string Modifiedtime
        {
            get { return modifiedtime; }
            set { modifiedtime = value; }
        }

        public virtual string Customercode
        {
            get { return customercode; }
            set { customercode = value; }
        }

        public virtual int Typeimport
        {
            get { return typeimport; }
            set { typeimport = value; }
        }

        public virtual string Notes
        {
            get { return notes; }
            set { notes = value; }
        }

        public virtual int Importtypecode
        {
            get { return importtypecode; }
            set { importtypecode = value; }
        }

        public virtual ISet MrpdetailsimportList
        {
            get { return mrpdetailsimportList; }
            set { mrpdetailsimportList = value; }
        }

        public override string ToString()
        {
            String s = "";
            if (masterimportcode != null)
                s += "masterimportcode : " + masterimportcode.ToString() + "\n";
            else
                s += "masterimportcode : null\n";
            if (createdusercode != null)
                s += "createdusercode : " + createdusercode.ToString() + "\n";
            else
                s += "createdusercode : null\n";
            if (createdtime != null)
                s += "createdtime : " + createdtime.ToString() + "\n";
            else
                s += "createdtime : null\n";
            if (modifiedusercode != null)
                s += "modifiedusercode : " + modifiedusercode.ToString() + "\n";
            else
                s += "modifiedusercode : null\n";
            if (modifiedtime != null)
                s += "modifiedtime : " + modifiedtime.ToString() + "\n";
            else
                s += "modifiedtime : null\n";
            if (customercode != null)
                s += "customercode : " + customercode.ToString() + "\n";
            else
                s += "customercode : null\n";
            if (typeimport != null)
                s += "typeimport : " + typeimport.ToString() + "\n";
            else
                s += "typeimport : null\n";
            if (notes != null)
                s += "notes : " + notes.ToString() + "\n";
            else
                s += "notes : null\n";
            if (importtypecode != null)
                s += "importtypecode : " + importtypecode.ToString() + "\n";
            else
                s += "importtypecode : null\n";
            return s;
        }
    }
}
